package com.codedancer.campus.client.api.user.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;

@Data
@ApiModel("用户修改信息Ro")
public class UserUpdateInfoRo {

    @ApiModelProperty("个性签名")
    @Size(min = 1, max = 50, message = "个性签名在1-50位之间")
    @NotEmpty(message = "个性签名在1-50位之间")
    private String signature;

    @ApiModelProperty("性别 1表示男 2表示女 3表示未知")
    @NotNull(message = "请选择性别")
    private Integer sex;

    @ApiModelProperty("生日")
    @NotEmpty(message = "请选择生日")
    private String birthday;
}

